export const DamAPI = {

  //空气质量目标
  //获取考核目标数据
  getTargetGoal: "api/examineTarget/findAirQualityTargetGoals",
//  优良天数&&PM10&&PM25目标数据
  getTargetChart: "api/examineTarget/findAirQualityGoalCompletion",

  //分析报告
  //空气质量同环比分析
  getChain: "api/standardSiteData/findAirQualityContrastRatio",
  getExport: "aqi/exportExcel/airQualityContrastRatioExcelExport",

  //  统计概览同环比
  chainChartData: "api/statisticalOverview/findPollutionContrastRatio",

//所有饼状图
  allPiePicData: "api/statisticalOverview/findStatisticalOverview",

//天气空气质量趋势
  weatherChartData: "api/statisticalOverview/findAirQualityTrend",

//辖区空气质量分析图表函数
  areaQualityData: "api/statisticalOverview/findAreaAirQualityAnalysis",

  //所有排名
  allRankingData: "api/standardSiteData/findAreaComprehensiveIndexData",

  //空气质量日报数据
  reportDailyData: "api/standardSiteData/findAirQualityDayReportData",

  //空气质量周报数据
  reportWeeklyData: "api/standardSiteData/findAirWeekReportData",


  //数据查询空气质量数据
  airQualityData: "api/standardSiteData/findAirQuarlityData",

  //数据查询污染源工业废气数据
  getIndustryData: "api/industryPollution/findIndustryPollutionData",

  //数据查询污染源扬尘数据
  getRaiseDustData: "api/industryPollution/findRaiseDustData",

  //数据查询污染源工业废水数据
  getWaterData: "api/industryPollution/findWaterPollutionData",

  //水质断面数据
  getWaterSurfaceData: "api/industryPollution/findWaterSurfaceData",

  //油烟数据
  getLampblackData: "api/industryPollution/findLampBlackData",


  //空气质量对比国控/省控数据
  getNationSiteData: "api/regionSite/findSiteInfoByRegionCodeAndSiteTye",

  //空气质量对比小型数据
  getSmallSiteData: "api/regionSite/findSiteInfoByRegionCodeAndSiteTye",

  //空气质量对比图表数据
  getAirQualityCompareData: "api/standardSiteData/findAirQualityContrastThrend",

  //污染源历史站点数据
  getPollutantSiteData: "api/regionSite/findSiteInfoByRegionCodeAndSiteTye",

  //污染源历史图表数据
  getPollutantSourceData: "api/industryPollution/findPollutionTrendData",

  //实时天气
  getRealWeatherData: "api/weather/findWeatherLiveByRegionCode",

  //实时AQI
  getRealAQIData: "api/standardSiteData/findCityLiveAQIByRegionCode",

  //初始化天气预报
  getWaterForecastData: "api/weather/findWeatherForecastByRegionCode",

  //当日累计AQI
  getCountAQIData: "api/standardSiteData/findCityCurrentDayAQITotalForQJZL",

  //年度目标
  getTargetChartData: "api/examineTarget/findAirQualityTargetGoals",

//初始化图表
  getCityDataChart: "api/standardSiteData/findCityCurrentComprehensiveIndexTotalForQJZL",

//排名表格
  getRankingTable: "api/standardSiteData/findCityRankings",


  //后台页面空气质量数据站点表
  getHideAirQualitySite: "api/noAuthen/findAirBySiteCodesAndTime",

  //后台页面空气质量数据区域表
  getHideAirQualityArea: "api/noAuthen/findAirByRegionCodesAndTime",

  //后台页面空气质量数据分钟表
  getHideAirQualityMin: "api/noAuthen/findAirDataByTime",

  //后台页面空气质量数据站点图表
  getHideAirQualitySiteCharts: "api/noAuthen/findAirQualityContrastThrend",


//环境监测数据
  getEnvSurvey: "api/noAuthen/findDataListBySnCode",

//不同用户显示不同站点
  getUserSite: "api/userSite/findUserSiteTypeData?format=json",

  //行政区划编码
  getregionCodeData: "api/regionSite/findRegionListBySession",

  //获取站点列表
  getRegionListData: "api/regionSite/findSiteInfoByRegionCodeAndSiteTye",


  //上传率有效率数据
  getUploadRateData: "api/statisticalOverview/findSiteAirUploadRate",


  //地图站点信息
  mapSiteInfo: 'api/standardSiteData/findSiteAndDetailInfoBySiteTye',
  //扬尘站点信息
  mapDustSiteInfo : 'api/raiseDustData/findRaiseDustRealData',
  //地图网格站点信息
  mapGridInfo: 'api/countyGrid/findCountGridRegionData',
  //地图网格站点信息
  mapGridDetailInfo: 'api/countyGrid/findCountGridRegionDetailData',

  //地图站点信息
  mapSiteDetail: 'api/standardSiteData/findSiteLastDetailBySiteCode',
  mapSiteDetailFive:'api/siteData/findSiteLastDetailBySiteCode',
  //地图站点报警信息
  mapWarnSiteDetail: 'api/alarmInformation/fiveDataSuddenHighAlarm',
  //全国标准站信息
  allNationSite: "api/standardSiteData/findNationalSiteAQIByMapLevel",
  //巡检人员数据
  trackDeviceList: "api/patrolTrack/getPatrolDeviceList",
  //巡检轨迹数据
  trackDeviceData: "api/patrolTrack/findPatrolDeviceTrack",
  //热力图
  trackHotHeatData: "api/standardSiteData/findHotPointData",
  //视频预览
  videoPreviewData: "api/video/preview",
  //污染企业
  gridEnterprise: "api/countyGrid/findEnterpriseListByRegionCode",
  //74城市排名
  cityRanking : "api/standardSiteData/find74CityRanking?format=json",
  //车辆类型
  carType : "api/patrolTrack/findPatrolTrackTypeList?format=json",
  //历史报警信息
  historyAlertData:"api/msgContent/siteCode",

  //车辆状态
  carStatus:"api/movingSource/findCarStatus?format=json",
  //车辆数量
  carTypeNum:"api/patrolTrack/deviceType/num?format=json",
  //车辆实时数据
  carRealPoint:"api/movingSource/findMovingSource",
  //框选车辆数据
  carHistoryPoint:"api/movingSource/findSelectBoxCar",
  //车辆模糊搜索
  carSearchByCode:"api/movingSource/findCarInfo",
  //加载点位附近车辆
  carRealAreaPoint: 'api/movingSource/findMovingSourceByLoc?format=json',

  //电子围栏
  getMapSiteFence: "api/mapPoint/pointInfos?format=json",
  //站点搜索
  getMapSiteSearch: "api/regionSite/siteInfos/siteTypes",
  //电子合围区，根据id查询
  // 分页版本v2
  areaPageListV2: "api/area/v2/bspagelist?format=json",
  //合围区添加接口
  add: "api/area?format=json",
  //合围区修改接口
  edit: "api/area",
  //根据id查询
  getById: "api/area",
  //合围区删除
  delete: "api/area",
  //合围区批量删除
  deletes: "api/area/deletes?format=json",
  //查询要添加合围区的站点
  findSitesInfo: "api/area/findSitesByRegionCodeAndSiteType?format=json",

  //报警通道后端
  //分页
  channelsPageListV2: "api/msgAlarm/v2/bspagelist?format=json",
  //通道添加方法
  insertChannel: "api/msgAlarm?format=json",
  //通道删除接口
  deleteChannel: "api/msgAlarm/delete?format=json",
  //批量删除
  delChannels: "api/msgAlarm/deleteMsgAlarms?format=json",
  //通道无参查询
  getChannel: "api/msgAlarm?format=json",
  //根据id查询
  getChannelById: "api/msgAlarm/getById?format=json",
  //通道修改接口
  updateChannel: "api/msgAlarm/edit?format=json",

  //规则后端
  //分页
  rulesPageListV2: "api/msgRule/v2/bspagelist?format=json",
  //规则添加方法
  insertRule: "api/msgRule?format=json",
  //规则删除接口
  deleteRule: "api/msgRule/delete?format=json",
  //批量删除
  delRules: "api/msgRule/deleteMsgRules?format=json",
  //规则无参查询
  getRule: "api/msgRule?format=json",
  //根据id查询
  getRuleById: "api/msgRule/getById?format=json",
  //规则修改接口
  updateRule: "api/msgRule/edit?format=json",

  //模板后端
  //分页
  templatesPageListV2: "api/msgTemplates/v2/bspagelist?format=json",
  //模板添加方法
  insertTemplate: "api/msgTemplates?format=json",
  //模板删除接口
  deleteTemplate: "api/msgTemplates/delete?format=json",
  //批量删除
  delTemplates: "api/msgTemplates/deleteTemplates?format=json",
  //模板无参查询
  getTemplate: "api/msgTemplates?format=json",
  //根据id查询
  getTemplateById: "api/msgTemplates/getById?format=json",
  //模板修改接口
  updateTemplate: "api/msgTemplates/edit?format=json",

  //实例后端
  //分页
  instancesPageListV2: "api/msgAlarmCase/v2/bspagelist?format=json",
  //添加方法
  insertInstance: "api/msgAlarmCase/addAlarmCaseByMsgRule?format=json",
  //删除接口
  deleteInstance: "api/msgAlarmCase/deleteAlarmCase?format=json",
  //批量删除
  delInstances: "api/msgAlarmCase/deleteAlarmCases?format=json",
  //无参查询
  getInstance: "api/msgAlarmCase/findAlarmCase?format=json",
  //根据id查询
  getInstanceById: "api/msgAlarmCase/findAlarmCaseAndMsgRuleByAlarmId?format=json",
  //修改接口
  updateInstance: "api/msgAlarmCase/updateAlarmCaseAndMsgRule?format=json",
  //规则查看
  lookRule: "api/msgAlarmCase/getAlarmRulesByMsgCaseId?format=json",
  //获取所有通道
  getAllChannel :"api/msgAlarm/getAllMsgAlarms?format=json",
  //批量添加报警规则方法
  batchAddAlarmRule: "api/msgAlarmCase/addAlarmRule?format=json",

  //报警信息后端
  //分页
  alarmRecordPageListV2:"api/msgContent/v2/bspagelist?format=json",
  //获取一条报警信息
  getMsgContentById :"api/msgContent/msg/id",
  //更新报警信息的处理人等信息
  editMsgContent:"api/msgContent/msg/edit",

  //获取行政区划关联树
  getRetrieveRegionsTree: "api/regionsTree/getRetrieveRegionsTree?format=json",
  //根据regionCode获取行政区划关联树
  getRegionsTreeByRegionCode: "api/regionsTree/getRegionsTreeByRegionCode?format=json",


  // 实时报警信息
  getWarnSiteInfo : 'api/sendLog/pushAlarm?format=json',
  // 修改报警信息状态
  putWarnSiteStatus : 'api/sendLog',
  // 实时GPS监控轨迹回放
  historyGPSData:'api/patrolTrack/findPatrolDeviceTrack?format=json',
  // 实时监测框选区域数据
  selectAreaData: 'api/siteData/findSiteDataBySelectBox?format=json',

  //溯源追踪
  getTraceSourceData:'api/spa/hour',

  /**
   *
   http://localhost:8080/api/traceAnalysis/findTraceDataBySiteCodeAndTime?format=json&siteCode=41010013&occurTime=2017-09-19 13:00:00&dataType=history
   */
  //溯源分析
  getTraceAnalyze:'api/traceAnalysis/findTraceDataBySiteCodeAndTime?format=json',

  //溯源分析条数
  getTraceNum:'api/traceAnalysis/findTraceDatasBySiteCodeAndTime?format=json',
 // 溯源分析
  getRealTrace:'api/traceAnalysis/findRealTraceDataBySiteCodeAndTime?format=json',

};

export const alarmRouter = {
  alarmRecord: 'portal/default/admin/msg/alarmrecord/record',
  alarmDeal: 'portal/default/admin/msg/alarmrecord/record/deal'
};
